package com.dmap.officialwebsite.service.impl;

import com.dmap.officialwebsite.dao.ArticleTypeMapper;
import com.dmap.officialwebsite.po.ArticleType;
import com.dmap.officialwebsite.service.ArticleTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ArticleTypeServiceImpl implements ArticleTypeService {

    @Resource
    private ArticleTypeMapper articleTypeMapper;

    @Override
    public List<ArticleType> selectAll() {
        return articleTypeMapper.selectByExample(null);
    }

}